from __future__ import absolute_import

import os

# =============================================================================
# BGP configuration.
# =============================================================================
BGP = {
    # AS number for this BGP instance.
    "local_as": 2,
    # 'local_port': 5555,
    # BGP Router ID.
    "router_id": "2.2.2.2",
    # Default local preference
    "local_pref": 100,
    # List of TCP listen host addresses.
    "bgp_server_hosts": ["::"],
    # List of BGP neighbors.
    # The parameters for each neighbor are the same as the arguments of
    # BGPSpeaker.neighbor_add() method.
    "neighbors": [
        {
            "address": "2345::1:2:1",
            "local_address": "2345::1:2:2",
            "remote_as": 1,
            "enable_ipv6": True,
            "enable_ipv4": True,
            "is_next_hop_self": True,
            "enable_rbgp": True,
        },
        {
            "address": "2345::2:3:3",
            "local_address": "2345::2:3:2",
            "remote_as": 3,
            "enable_ipv6": True,
            "enable_ipv4": True,
            "is_next_hop_self": True,
            "enable_rbgp": True,
        },
        {
            "address": "2345::2:4:4",
            "local_address": "2345::2:4:2",
            "remote_as": 4,
            "enable_ipv6": True,
            "enable_ipv4": True,
            "is_next_hop_self": True,
            "enable_rbgp": True,
        },
    ],
    "routes": [
        {
            "prefix": "2222:bbbb::1/64",
        }
    ],
}


# =============================================================================
# SSH server configuration.
# =============================================================================
SSH = {
    "ssh_port": 22222,
    "ssh_host": "localhost",
    # 'ssh_host_key': '/etc/ssh_host_rsa_key',
    # 'ssh_username': 'ryu',
    # 'ssh_password': 'ryu',
}